home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / Lyapunov / lyap / lyap.newspost < prev    next >
Encoding:
Text File  |  1992-04-23  |  2.8 KB  |  61 lines

  1.   ... I know, I know, only pictures.  But so many people asked for it, so here
  2. it is.  You'll have to chop off the header of one of the files once you unzip
  3. it, but it's really self explanatory.  I could even compile it on a sparc
  4. without knowing c.  Included is an example command - don't run it!  I'll post
  5. it right after this, so that you can see the results.  Here are some hints
  6. about the command options:
  7.  
  8. -r (rows) - obvious
  9. -c (cols) -    "
  10. -v (pipe to) - this has worked with xv, but I wouldn't recommend it for really
  11.                large files.
  12. -p (positive exps) - haven't got this to do anything but a black screen.
  13. -# (parallel) - wish I could use this.  If you have an SGI, you're in luck.
  14.                 A friend ran the same lyapunov about 5 times faster with this.
  15. -o (output) - obvious
  16. -l (colormap) - you'll want to use these.  I'm posting a bunch in just a sec,
  17.                 or make your own.
  18. -m (min exp) - If all of your color-shift (where the colors are changing)
  19.                seems to be happening in one place, this can spread it out
  20.                considerably (or bunch it up more.)  Default is -5.  Negative
  21.                numbers closer to zero spread it out more, farther from zero
  22.                bunch it up more (i.e. more black, empty space.)
  23. -d (dwell) - can speed up or slow down the running, as well as affecting the
  24.              output.  Setting it below the default 2000 will increase the
  25.              black, I think.  Higher numbers give higher accuracy and slower
  26.              run time.
  27. -s (settle) - about the same results as changing dwell, I think.  default 600.
  28. -g (guess) - can change output.  Make sure to guess a number between your
  29.              min exp and zero.
  30. amin\
  31. amax \  These pick the part of lyapunov space you want to look at.  Think
  32. bmin /  of it as the a and b axes.  Lyapunov space extends from 0 to infinity,
  33. bmax/   but the action is generally going on from 0 to 4.  Most values >4
  34.         just give black (chaos) or straight lines (boring).  There are two
  35.         interesting values where things happen: 2 and 3.23...  If you got
  36.         the big purple square with a hole in it a while back (lyap30.gif),
  37.         its amin, amax, bmin, and bmax were 2, 3.23, 2, 3.23.  Most of the
  38.         jagged edges occur between 3.23 and 4.  This program will work with
  39.         very small variations, although something like 0 4 3.33333 3.33334
  40.         will probably be only one color.  Keep both axes scaled kind of close
  41.         together.
  42.  
  43. bits - make sure you have at least one a and b - ab, ba, bab, bbbbbbbbbabbbbb,
  44.        etc.  Otherwise you get straight lines.
  45.  
  46. a is the vertical axis, b the horizontal.  amin, bmin is in the bottom left
  47. corner.
  48.  
  49. 0 3 1 2 ba gives the same as
  50. 1 2 0 3 ab.  It is not the same thing as
  51. 1 2 0 3 ba.
  52.  
  53. 0 3 1 2 baba gives the same as
  54. 0 3 1 2 ba.
  55.  
  56. Questions welcome.
  57. Have fun storming the castle!
  58.  
  59. Rusty
  60. rburlin@owlnet.rice.edu
  61.